﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HRMDomain;

namespace HRMDataAccess
{
    public class HRMDataContext:DbContext
    {
        public HRMDataContext(string name) : base(name) { }
        public HRMDataContext() : base("HRMDataContext") { }
        public DbSet<Employee> Employees { get; set; }
        public DbSet<Location> Locations { get; set; }
        public DbSet<AbsenceStageType> AbsenceStageTypes { get; set; }
        public DbSet<EmployeeClassType> EmployeeClassTypes { get; set; }
        public DbSet<InjuryCategory> InjuryCategories { get; set; }
        public DbSet<InjuryType> InjuryTypes { get; set; }
        public DbSet<PerformanceCategory> PerformanceCategories { get; set; }
        public DbSet<PerformanceOutcome> PerformanceOutcomes { get; set; }
        public DbSet<FeedbackCategory> FeedbackCategories { get; set; }

    }
}
